<?php
/**
 * Created by PhpStorm.
 * User: wchuang
 * Date: 2016/8/29
 * Time: 19:51
 */
$this->title = '高级特性测试热门商品';
$this->params['breadcrumbs'][] = $this->title;
?>


<?php if(isset($models)){?>
	<table class="table">
		<caption>批量自动生成虚拟用户结果</caption>
		<thead>
		<tr>
			<th>goodsId</th>
			<th>是否10元</th>
			<th>商品名字</th>
			<th>当前已购买</th>
			<th>全部可购买</th>
		</tr>
		</thead>
		<tbody>
		<?php foreach($models as $v):?>
			<tr>
				<td><?=$v['goodsId']?></td>
				<td><?=$v['goods_10'] ? '是' : '否'?></td>
				<td><?=$v['goods_name']?></td>
				<td><?=$v['current_join_num']?></td>
				<td><?=$v['all_join_num']?></td>
			</tr>
		<?php endforeach;?>

		</tbody>
	</table>
<?php }?>